﻿@model eShop.Web.Mobile.Models.ReviewOrderModel
@{
    Layout = null;
}
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>评价订单-@{@WorkContext.ShopConfig.SiteTitle}触屏版</title>
    @Html.Raw(WorkContext.ShopConfig.SEOKeyword)
    @Html.Raw(WorkContext.ShopConfig.SEODescription)
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link href="@{@WorkContext.CSSCDN}/mobile/themes/default/css/base.css" rel="stylesheet" type="text/css">
    <link href="@{@WorkContext.CSSCDN}/mobile/themes/default/css/ucenter.css" rel="stylesheet" type="text/css">
    <script src="@{@WorkContext.ScriptCDN}/mobile/scripts/jquery.js" type="text/javascript"></script>
    <script src="@{@WorkContext.ScriptCDN}/mobile/scripts/common.js" type="text/javascript"></script>
    <script src="@{@WorkContext.ScriptCDN}/mobile/scripts/ucenter.order.js" type="text/javascript"></script>
</head>

<body>
@Html.Partial("_header")
<script type="text/javascript">
    $("#headerTitle").html("评价商品");
</script>


<div class="pj">

@foreach (OrderProductInfo info in Model.OrderProductList)
{
<div class="proItme">
<img src="@{@WorkContext.ImageCDN}/upload/product/show/thumb60_60/@info.ShowImg">
<div class="order-msg">
<p class="title">@info.Name</p>
<p class="price">¥ @info.DiscountPrice</p>
@if (info.IsReview == 1)
{
<p><a href="javascript:void(0)" class="gayBt" style="color:#999;">您已评价</a></p>
}
else
{
<p><a href="javascript:void(0)" onclick="openReviewProductBlock(@info.RecordId)" class="redBt" id="reviewOperate@{@info.RecordId}">立即评价</a></p>
}
</div>
</div>
}

<div id="reviewProductBlock" style=" display:none;">
<form name="reviewProductFrom" action="">
<input type="hidden" name="oid" value="@Model.OrderInfo.Oid" />
<input type="hidden" name="recordId" value="" />
<input type="hidden" name="star" value="" />
<p id="productStarBlock">商品满意度<span class="on" onclick="selectProductStar(1)"></span><span class="on" onclick="selectProductStar(2)"></span><span class="on" onclick="selectProductStar(3)"></span><span class="on" onclick="selectProductStar(4)"></span><span class="on" onclick="selectProductStar(5)"></span></p>
<textarea name="message" style="width:100%; min-height:100px;"></textarea>
<a href="javascript:void(0)" onclick="reviewProduct()" class="redBt" style="display:block;margin: 12px 14px; text-align:center;">提交</a>
</form>
</div>

</div>


@Html.Partial("_footer")
</body>
</html>
